From f2fcdadfb6b39ec67dd2015640623aa716bc5c70 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 27 Jun 2005 18:36:02 +0000 Subject: [PATCH] Add 'usbfree' target. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1232 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gpsbabel/Makefile b/gpsbabel/Makefile index df34c7c36..5ac6fbb78 100644 --- a/gpsbabel/Makefile +++ b/gpsbabel/Makefile @@ -56,6 +56,15 @@ OBJS = main.o $(LIBOBJS) all: gpsbabel +# +# Alternate makefile target for the case when you have no libusb and no +# need for Garmin/USB (60, 76C, VistaC, Quest, etc.) support. +# +usbfree: + make LIBUSB= INHIBIT_USB=-DNO_USB + + + gpsbabel: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o gpsbabel $(LIBEXPAT) $(LIBUSB) -lm -- 2.30.2